<?php
    // function common
    require_once FUNCTIONS.'/urlfriend.php';
    require_once FUNCTIONS.'/upload.php';
    // get request controller
    $control = (isset($_REQUEST["control"]) && $_REQUEST["control"]!=""  )?$_REQUEST["control"]:"HomeControllers";
    if( is_file(MODULE.DIRECTORY_SEPARATOR."mod_admin/controllers".DIRECTORY_SEPARATOR."$control.php")){
		require_once MODULE.DIRECTORY_SEPARATOR."mod_admin/controllers".DIRECTORY_SEPARATOR."$control.php";
	}else{
		require_once MODULE.DIRECTORY_SEPARATOR."mod_admin/controllers".DIRECTORY_SEPARATOR."HomeControllers.php";
	}
?>